#include "game.h"

void FloppyDisk::Accept(EquipmentVisitor &visitor)
{
    visitor.VisitFloppyDisk(this);
}

void Chassis::Accept(EquipmentVisitor &visitor)
{
    QList<Equipment*>::iterator it = _equipment.begin();
    for(; it != _equipment.end(); ++it)
    {
        (*it)->Accept(visitor);
    }
    qInfo()<<"++";
    visitor.VisitChassis(this);
}
